package main

import "fmt"

func main() {
	var a [3]int
	fmt.Println("a len = ", len(a))
	fmt.Println()

	fmt.Println("a[0] = ", a[0])
	fmt.Println()

	fmt.Println("a[len(a)-1] = ", a[len(a)-1])
	fmt.Println()

	for i, v := range a {
		fmt.Printf("%d %d\n", i, v)
	}
	fmt.Println()

	for _, v := range a {
		fmt.Printf("%d\n", v)
	}

	fmt.Println()
}
